package com.example.salesystem.mapper;

import com.example.salesystem.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lishuo
 * @since 2024-05-18
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<Order> getCars(@Param("id") Long id);

    List<Order> getOrders(@Param("id") Long id);
}
